﻿using System;

namespace MvcTemplates
{
    /// <summary>
    /// This Attribute is used if you would like to have an additional label on the right
    /// </summary>
    [AttributeUsage(AttributeTargets.Property, AllowMultiple = false)]
    public class LabelAfterFieldAttribute : MetadataAttribute
    {
        public LabelAfterFieldAttribute( string text )
        {
            Text = text;            
        }

        public string Text { get; set; }        
    }
}